using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACME.Northwind.DataTransfer;

namespace ACME.Northwind.Service.Interfaces
{
	/// <summary>
	/// The service interface for the 'Customer' object type
	/// </summary>
	public partial interface ICustomerService : IPersistableService<CustomerDTO>
	{
		/// <summary>
		/// Return a specific Customer object by primary key
		/// </summary>
		CustomerDTO SelectByPrimaryKey(string customerid);

		/// <summary>
		/// Return a list of related CustomerCustomerDemo objects
		/// </summary>
		List<CustomerCustomerDemoDTO> GetCustomerCustomerDemoList(CustomerDTO item);

		/// <summary>
		/// Return a list of related Order objects
		/// </summary>
		List<OrderDTO> GetOrderList(CustomerDTO item);

		/// <summary>
		/// Return a list of items by the City field
		/// </summary>
		List<CustomerDTO> SelectByCity(CustomerDTO item, string city);

	}
}
